package com.xinrui.sunnyday.service;

import com.xinrui.sunnyday.exception.SunnydayException;
import com.xinrui.sunnyday.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    /**
     * 批量处理,上传文件
     *
     * @param orderSetting
     */
    void add(List<OrderSetting> orderSetting) throws SunnydayException;

    /**
     * 查询显示预约信息
     * @param time
     * @return
     */
    List<Map<String, Integer>> findAllDate(String time);

    /**
     * 修改可预约信息
     * @param orderSetting
     */
    void update(OrderSetting orderSetting);
}
